<?php if ( ! defined('BASEPATH')) exit('No direct script schess allowed'); ?>

<?=form_hidden("email", $this->input->get_post("email"))?>

<div class="form-group">
	<?=form_label($this->lang->line("SUBJECT"), "subject", array("class" => "control-label"))?>
	<?=form_input("subject", null, "placeholder=\"".$this->lang->line("SUBJECT")."\" class=\"form-control\" id=\"subject\"")?>
</div>

<div class="form-group">
	<?=form_label($this->lang->line("TEXT"), "text", array("class" => "control-label"))?>
	<?=form_textarea("text", null, "placeholder=\"".$this->lang->line("TEXT")."\" class=\"form-control\" id=\"text\"")?>
	<script>
		$(function() {
			CKEDITOR.replace('text').on('instanceReady',function(){
				$('#studyEditorModal .modal-body form').resize();
			});
		});
	</script>
</div>